<!doctype html>
<html>
    <head>
	<link rel="icon" type="image/ico" href="<?=base_url();?>/favicon.ico" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width" />
    <title><?=isset($title)? $title: 'School System';?></title>
	<link rel="stylesheet" href="<?=style_url('bootstrap.min');?>">
	<link rel="stylesheet" href="<?=style_url('filemanager');?>">
	<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.js"></script>
	
    </head>
	
    <body>
    	<div style="position:fixed;top:0;right:24px">
			<div class="btn-group" style="float:right;">
				<a href="<?php echo site_url();?>" class="btn btn-danger" title="Are you sure you want to exit file manager?">Exit File Manager</a>
				<a href="<?php echo site_url('auth/logout');?>" class="btn btn-inverse">Logout</a>
				<a href="<?php echo site_url('auth/logout');?>" class="btn btn-inverse">Close</a>
			</div>
		</div>
		<div style="padding:10px 14px;margin:19px 0 0 0;">
			<div id="title">
				<div><h3 class="brand">Filemanager<sup>&bull;</sup></h3> | <?=@$name;?> | <?=@$usertype;?></div>
			</div>
			<hr class="clearfix">
			<div style="clear:both;"></div>
			<?php echo $yield;?>
		</div>

		<script type="text/javascript" src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
		<script type="text/javascript" src="<?php echo script_url('vendor/growl');?>"></script>
		<script type="text/javascript" src="<?php echo script_url('custom/myjs'); ?>"></script>
	
	</body>
</html>